import { createSSRApp } from 'vue'
import App from './App.vue'

import { setupInterceptors } from './interceptors'
import { setupStore } from './stores'

import 'virtual:uno.css'
import './styles/index.scss'

export function createApp() {
  const app = createSSRApp(App)

  setupStore(app)
  setupInterceptors(app)

  return {
    app,
  }
}
